$color: $themeColor;
.article {
  width: calc(100% - 270px);
  padding: 20px;
  box-sizing: border-box;
  .pre_box {
    position: relative;
    .file_name {
      position: absolute;
      top: 5px;
      right: 5px;
      z-index: 1;
      font-size: 16px;
      color: $waringColor;
      font-weight: bold;
    }
  }
  .content {
    padding-bottom: 20px;
  }

  .warring {
    background: #ffe5644d;
    padding: 10px;
    color: #715a09;
    .title {
      color: #b29400;
      font-weight: bold;
    }
  }
}
.menu {
  position: fixed;
  right: 0;
  top: 0;
  color: #282c34;
  background-color: #fff;
  width: 250px;
  height: 100vh;
  overflow: auto;
  border-left: 1px solid #eee;
  .li {
    font-size: 14px;
    padding-top: 20px;
    .selected {
      color: $color;
    }
    .child_selected {
      color: $color !important;
      background-color: rgba(0, 62, 231, 0.1);
    }
    .title {
      line-height: 30px;
      font-weight: bold;
      cursor: pointer;
      position: relative;
      padding: 0 10px;
      &:hover {
        color: $color;
      }
      .right_triangle {
        position: absolute;
        display: inline-block;
        border: 5px solid transparent;
        border-right-width: 0;
        border-left-color: #525252;
        right: 0;
        transform: translateY(50%);
      }
    }
    .child_li {
      color: #525252;
      line-height: 30px;
      cursor: pointer;
      font-weight: lighter;
      padding: 0 10px;
      &:hover {
        color: $color;
      }
    }
    .focus {
      background-color: $color;
      color: #fff;
    }
  }
}
